Homer Analyzer Starting Parameters
The Homer behavior depends on several controlling parameters. Most of them are defined in the Hom.cfg and Tun.cfg configuration text files, which the Homer Server reads as part of its initialization routine after a power-up or a Server restart. The files therefore determine the Homer behavior in autonomous mode (without any external controller that could change the parameters via commands).
To change the Homer power-up behavior, you must modify these cfg files. There are several ways to do this. The best one is to use the currently active files as a template and manually edit the necessary parameters. The copies of these files can be downloaded from the Homer. After editing, the files must be sent back to the Homer and the unit must be restarted. See Transferring Files for instructions on downloading and uploading files.
Another method, which does not involve manual editing, is to create Hom.cfg and Tun.cfg using HomSoft (see Create CFG).
An example Hom.cfg configuration file is listed below. Lines starting with a semicolon are ignored. To create your own cfg file, you can copy the code block below and use it as a template. For Tun.cfg, see Homer Autotuner Starting Parameters. To configure the communication interface, see Configuring Communication. For the meaning of the CAN_ADDR parameter, see MultiCAN: More Homers on CAN Bus.
For a more detailed explanation of the parameters controlling the sampling of the detector voltages and frequency measurement (printed in red in the Notes section below), see topic Signal Waveforms and its subtopics. Some of the parameters (Fsubst_kHz, Fdelta_MHz, LowPowLvl_W) are related to Homer hardware.
[Homer Configuration]
Waveform=0
Autorun=1
Can_Addr=1
Fsampl_CW=10000
Vrpt=201
TcountCW_Us=20000
Rect_Linfre=50
Rect_Periods=1
Rect_Nsampl=201
Rect_Tcnt_Us=2992
Rect_Acc_Lvl=25
Puls_Tsampl_Us=1000
Puls_Nsampl=201
Puls_Tcnt_Us=32
Puls_Tmax_ms=100
Puls_Acc_Lvl=50
TrgMethod=0
TrgLevel=50
LowPowLvl_W=100
IsCntOn=1
Fsubst_kHz=2450000
Fdelta_MHz=61
Trpt=8
OnPeriod_ms=0
OfsPeriod_s=30
FPeriod_ms=0
TPeriod_s=30
TxPeriod_ms=0
Mot_Refresh=1000
TxMask=7
OnRnge=-1
OfsRnge=2
OfsEqualOn=TRUE
Asc_Delim=32
Asc_UseLabels=TRUE
Asc_InvalStr=NONE
;========================== NOTES =================================
;This file is not obligatory: Defaults below are used in case of absent
;lines or invalid data (some defaults are HW-specific).
; Waveform=0 Input signal type (0=CW 1=Rectified 2=Puls)
; Autorun=1 AutoStart after power-up: Run (b0=1), Send (b1=1)
; Can_Addr=1 Address (1 to 20) for more Homers on CAN bus
;The following settings apply when Waveform=0
; Fsampl_CW=10000 CW signal sampling rate [Hz] (1 to 200000)
; Vrpt=201 Voltage measurement averaging (1 to 4095)
; TcountCW_Us=20000 CW signal frequency counting interval [microseconds]
;The following settings apply when Waveform=1
; Rect_Linfre=50 Microwave power ripple frequency
; Rect_Periods=1 Number of periods to be sampled
; Rect_Nsampl=201 Number of samples to take
; Rect_Tcnt_Us=2992 Frequency counting interval [microseconds]
; Rect_Acc_Lvl=25 Only samples higher than this % of peak value
; will be taken for refl. coef. computation
;The following settings apply when Waveform=2
; Puls_Tsampl_Us=1000 Sampling duration [microseconds]
; Puls_Nsampl=201 Number of samples to take
; Puls_Tcnt_Us=32 Frequency counting interval [microseconds]
; Puls_Tmax_ms=100 Max expected pulse repetition period [milliseconds]
; Puls_Acc_Lvl=50 Only samples higher than this % of peak value
; will be taken for refl. coef. computation
;Other settings
; TrgMethod=0 Triggering for non-CW sampling (0=free run 1=triggered)
; TrgLevel=50 Triggering level [%] for non-CW signal sampling
; LowPowLvl_W=0 Incident power threshold for "Low Signal" condition
; IsCntOn=1 Activate frequency counter (1=ON, 0=OFF)
; Fsubst_kHz=2450000* Substitute frequency (*HW-dependent)
; Fdelta_MHz=61* Frequency tolerance interval half-width (*HW-dependent)
; Trpt=8 Temperature measurement averaging (1 to 16)
;Timings
; OnPeriod_ms=0 Measurement cycle periodicity [ms] (0 to 65535)
; OfsPeriod_s=30 Offsets measurement periodicity [s] (0 to 120)
; TxPeriod_ms=0 Homer sending periodicity [ms] (0 to 65535)
; FPeriod_ms=0 Frequency measurement periodicity [ms] (0 to 65535)
; TPeriod_s=30 Temperature measurement periodicity [s] (0 to 120)
; Mot_Refresh=1000 Tuner: Interval [ms] between sending motors data
; TxMask=7 Homer sending mask (b0=RsltsReady b1=TxPeriod b2=MotRefresh)
;A/D converters ranges: do not change unless absolutely necessary
; OnRnge=-1 Signal measurement range (-1=auto 1=50mV 2=500mV 3=5V)
; OfsRnge=2 Offset measurement range (-1=auto 1=50mV 2=500mV 3=5V)
; OfsEqualOn=TRUE Make OfsRnge=OnRnge when OfsPeriod_s=0
;Settings for results in ASCII format
; Asc_Delim=32 Delimiter of ASCII results: code of delimiting char
; Asc_UseLabels=TRUE Use labels XXX= in ASCII results
; Asc_InvalStr=NONE Padding string to substitute invalid/not present results